home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000239_news@newsmaster….columbia.edu _Mon May 26 23:39:22 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA01602
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 26 May 1997 23:39:21 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA19085
for kermit.misc@watsun; Mon, 26 May 1997 23:39:20 -0400 (EDT)
From: arthur@gateway.dircsa.org.au (Arthur Marsh)
Newsgroups: comp.protocols.kermit.misc
Subject: simple test for controlling terminal?
Date: 27 May 1997 06:26:01 +0930
Organization: DIRC - Disability Information & Resource Centre - Sth Australia
Lines: 13
Message-ID: <5mctd1$h7f@gateway.dircsa.org.au>
NNTP-Posting-Host: apache.dircsa.org.au
X-Newsreader: TIN [version 1.1 PL8]
Path: news.columbia.edu!panix!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!news-xfer.netaxs.com!feed1.news.erols.com!news.ecn.uoknor.edu!munnari.OZ.AU!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!news.sa.iinet.net.au!morse.satech.net.au!news.camtech.net.au!news.dircsa.org.au!news.dircsa.org.au!not-for-mail
Xref: news.columbia.edu comp.protocols.kermit.misc:7084
Hi, I do have the fine C-Kermit manual, but wondered what the simplest
way to get a Kermit script to quit if the script was not run from a serial
tty.
In other words, what would be the proper C-Kermit script to compare a
substring to achieve the same result as:
if not (first 8 characters of \$(LOGTTY) = "/dev/tty") then quit
--
Arthur Marsh, telephone +61-8-8370-2365, fax +61-8-8223-5082
arthur@dircsa.org.au
.endofsig